/**
 * 优惠券相关接口
 */

const http = uni.$u.http;

const couponApi = {
	// 获取用户优惠券列表
	userCouponList: params => http.get('/promotion/coupon/page', { params }), 

	// 获取优惠券列表
	couponList: params => http.get('/promotion/coupon/page', { params }), 
	
	// 优惠券详情
	couponDetail: params => http.get('/promotion/coupon/get', { params }), 
};

export default couponApi